package com.example.ruihuada.ui.HomeModule.frament

import android.os.Bundle
import com.example.ruihuada.R
import com.example.ruihuada.base.BaseFragment

class HotFragment : BaseFragment() {
    var type: Int = 0

    companion object {
        fun newInstance(type: Int): HotFragment {
            val fragment = HotFragment()
            val bundle = Bundle()
            bundle.putInt("type", type)
            fragment.arguments = bundle
            return fragment
        }
    }

    override fun getLayoutId(): Int = R.layout.fragment_hot

    override fun initView() {
        arguments?.let { type = it.getInt("type", 0) }


    }

}